
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ page import="com.syrrx.hol.dao.OracleHOLDAO;" %>
<%@ page import="com.syrrx.hol.beans.TestBean;" %>
<%@ page import="java.util.*;" %>

<%
ArrayList testResults=(ArrayList)OracleHOLDAO.getTestDetails(); 
String field1="";
String field2="";	


%>

<jsp:include page="HOLHeader.jsp"/>
  <tr>
    <!-- body table -->
    <td valign="center">
      <!-- Start Content -->
      <table align="center" bgcolor="#000000" border="0" cellPadding="0" cellSpacing="0" width="100%">
        <tr>
          <td>
            <table border="0" cellpadding="8" cellspacing="1" width="100%">
              <tr>
                <td bgcolor="#ffffff">
                  <h1>Home Page</h1>
                  
                  
                  	<TABLE bgColor=#cccccc border=0 borderColor=#cccccc cellPadding=1
								cellSpacing=1 width="100%">
							
							
							
							<%if(testResults!=null){
								Iterator testIter=testResults.iterator();
								for(int i=0;testIter.hasNext();i++){
                                           TestBean bean=(TestBean)testIter.next();
                                           field1=bean.getField1();
                                           field2=bean.getField2();
                                           
										%>
							
							    <TR bgcolor=#ffffff align="center">
									<TD CLASS="text_bold" ALIGN="left"><%=field1 %></TD>
									<td ALIGN="left"><%=field2%></td>
								</TR>										
							
							
				
<%}} %>				
												
							</table>
					
							
                  
                  
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!-- End Content -->
	  </td>
	</tr>
    <jsp:include page="HOLFooter.jsp"/>